-module(ptc_wait_info).
-export([get_id/0,get_name/0,get_des/0,write/1]).

get_id()-> 16#B001.

get_name() -> wait_info.

get_des() ->
	[
	 {room_id,uint32,0},
	 {room_type,uint32,0},
	 {room_rule,string,""},
	 {room_psw,string,""},
	 {room_create,uint32,0},
	 {room_score,uint8,0},
	 {room_players,{list,wait_player},[]},
	 {ply_mode,uint8,0},
	 {cur_times,uint8,0},
	 {max_times,uint8,0},
	 {room_game_status,uint8,0},
	 {zhuang_jia_aid,uint32,0}	 
	 ].

write(RdFile) ->
	write_ctrl:write(protocol,?MODULE,RdFile).
